import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// 按需引入
import '@/plugins/element/index'
// router
import Router from "@/router/index";
import VueRouter from "vue-router";
Vue.use(VueRouter)

console.log(process.env)
window.$router = Router
//element 无线滚动
// import infiniteScroll from "vue-infinite-scroll";
// Vue.use(infiniteScroll);


new Vue({
  render: h => h(App),
  router: Router
}).$mount('#app')
